#ifndef __C_SHARED_MEMORT_H
#define __C_SHARED_MEMORT_H

#include <sys/mman.h>
#include <sys/stat.h>        /* For mode constants */
#include <fcntl.h>           /* For O_* constants */

#ifdef __cplusplus 
extern "C" { 
#endif

void* mmCreateOnOpen(char* name, int size, int* out_flag);
void* mmOpen(char* name, int size, int* out_flag);
void mmUnlink(char* name);

#ifdef __cplusplus 
} 
#endif

#endif